package com.hk.employeemanagementsystem.dto;

import java.util.Date;

/**
 * @author by 何坤
 * @Classname AdvanceSearchEmpDto
 * @Description 高级搜索的条件封装实体DTO，用于封装前端传来的高级查询条件
 * @Date 2020/2/6 10:52
 */
public class AdvanceSearchEmpDto {
    private Boolean gender;
    private String idCard;
    private Date birthDateStart;
    private Date birthDateEnd;
    private Integer nationId;
    private Integer politicId;
    private Integer departmentId;
    private String highestEducation;
    private Boolean workStatus;
    private Date beginDateStart;
    private Date beginDateEnd;
    private Integer positionId;
    private Date termDate;
    private String hireForm;
    private Integer pageSize;
    private Integer pageNumber;

    public Boolean getGender() {
        return gender;
    }

    public void setGender(Boolean gender) {
        this.gender = gender;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public Date getBirthDateStart() {
        return birthDateStart;
    }

    public void setBirthDateStart(Date birthDateStart) {
        this.birthDateStart = birthDateStart;
    }

    public Date getBirthDateEnd() {
        return birthDateEnd;
    }

    public void setBirthDateEnd(Date birthDateEnd) {
        this.birthDateEnd = birthDateEnd;
    }

    public Integer getNationId() {
        return nationId;
    }

    public void setNationId(Integer nationId) {
        this.nationId = nationId;
    }

    public Integer getPoliticId() {
        return politicId;
    }

    public void setPoliticId(Integer politicId) {
        this.politicId = politicId;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public String getHighestEducation() {
        return highestEducation;
    }

    public void setHighestEducation(String highestEducation) {
        this.highestEducation = highestEducation;
    }

    public Boolean getWorkStatus() {
        return workStatus;
    }

    public void setWorkStatus(Boolean workStatus) {
        this.workStatus = workStatus;
    }

    public Date getBeginDateStart() {
        return beginDateStart;
    }

    public void setBeginDateStart(Date beginDateStart) {
        this.beginDateStart = beginDateStart;
    }

    public Date getBeginDateEnd() {
        return beginDateEnd;
    }

    public void setBeginDateEnd(Date beginDateEnd) {
        this.beginDateEnd = beginDateEnd;
    }

    public Integer getPositionId() {
        return positionId;
    }

    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    public Date getTermDate() {
        return termDate;
    }

    public void setTermDate(Date termDate) {
        this.termDate = termDate;
    }

    public String getHireForm() {
        return hireForm;
    }

    public void setHireForm(String hireForm) {
        this.hireForm = hireForm;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(Integer pageNumber) {
        this.pageNumber = pageNumber;
    }

    @Override
    public String toString() {
        return "AdvanceSearchEmpDto{" +
                "gender=" + gender +
                ", idCard='" + idCard + '\'' +
                ", birthDateStart=" + birthDateStart +
                ", birthDateEnd=" + birthDateEnd +
                ", nationId=" + nationId +
                ", politicId=" + politicId +
                ", departmentId=" + departmentId +
                ", highestEducation='" + highestEducation + '\'' +
                ", workStatus=" + workStatus +
                ", beginDateStart=" + beginDateStart +
                ", beginDateEnd=" + beginDateEnd +
                ", positionId=" + positionId +
                ", termDate=" + termDate +
                ", hireForm='" + hireForm + '\'' +
                ", pageSize=" + pageSize +
                ", pageNumber=" + pageNumber +
                '}';
    }
}
